using System;
using System.Windows.Forms;

using Pegasus.Log4Net;
using Pegasus.Log4Net.Config;

namespace Pegasus.Sample.PeerToPeerChat
{
	/// <summary>
	/// Main entry point for the application. 
	/// </summary>
	public static class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
#if DEBUG
			// Turn on logging when in debug mode
			BasicConfigurator.Configure();
#endif

			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault( false );
			Application.Run( new FormChat() );
		}
	}
}